<project name="Javadoc_Explica" default="doc" basedir=".">

    <property name="autor" value="Fundación C.T.C."/>

    <target name="init">
        <tstamp/>
        <echo message="Generando JavaDoc del aplicativo..."/>
    </target>
  
    <target name="clean">
		<delete includeEmptyDirs="true">
		    <fileset dir="${javadoc.outdir}">
		        <include name="**/*"/>
		        <exclude name="**/CVS/*"/>
		    </fileset>
		</delete>
	</target>
	
	<target name="doc" depends="init, clean">
		<javadoc failonerror="true">

			<doclet name="org.wonderly.doclets.TexDoclet"
			             path="${lib.dir}/texdoclet.jar">
			        <param name="-output" value="${javadoc.outdir}/Explica.tex"/>
			</doclet>

	            <fileset dir="${src.dir}" defaultexcludes="yes">
	                <include name="org/ceteca/**"/>
	                <exclude name="**/*.properties"/>
	                <exclude name="**/MANIFEST.MF"/>
	                <exclude name="**/*.pdf"/>
	                <exclude name="**/*.xml"/>
	                <exclude name="**/resources/**"/>
	                <exclude name="**/po/**"/>
	                <exclude name="**/po.old/**"/>
	                <exclude name="**/i18n/**"/>
	                <exclude name="**/*.policy"/>
	                <exclude name="**/*.sh"/>
	                <exclude name="**/*.dtd"/>
	                <exclude name="**/*.glade"/>
			<exclude name="**/*.png"/>
			<exclude name="**/*.svg"/>
	            </fileset>
	        </javadoc>
	</target>
	
</project>
